package com.ruoyi.plus.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "server.servlet")
public class ContextPathConfig {

    private static String contextPath;

    public static String getContextPath()
    {
        return contextPath;
    }

    public void setContextPath(String contextPath)
    {
        ContextPathConfig.contextPath = contextPath;
    }
}
